<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>NPanday - List of Workarounds</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
                                            <img src="." alt="" />
    
            </span>
                          <span id="bannerRight">
    
                                            <img src="./images/logo-home.png" alt="" />
    
            </span>
            <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2010-01-21
                      </div>
            <div class="xright">      
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>General Info</h5>
            <ul>
              
    <li class="none">
                    <a href="index.html">NPanday Overview</a>
          </li>
              
    <li class="none">
                    <a href="release-notes.html">NPanday Release Notes</a>
          </li>
              
    <li class="none">
                    <a href="faqs.html">NPanday FAQs</a>
          </li>
              
    <li class="none">
              <strong>NPanday Workarounds</strong>
        </li>
              
    <li class="none">
                    <a href="plugins/index.html">NPanday Plugins</a>
          </li>
              
    <li class="none">
                    <a href="conventions.html">Conventions</a>
          </li>
          </ul>
              <h5>Getting Started</h5>
            <ul>
              
                
              
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="installation/index.html">Installation</a>
                </li>
              
                
              
      
            
      
              
        <li class="collapsed">
                    <a href="installation/uninstall.html">Uninstall NPanday</a>
                </li>
              
    <li class="none">
                    <a href="guide/build_tool.html">Using the Build Tool</a>
          </li>
              
    <li class="none">
                    <a href="guide/dependencies.html">Project Dependencies</a>
          </li>
              
    <li class="none">
                    <a href="guide/install_file.html">Installing Files Manually</a>
          </li>
              
    <li class="none">
                    <a href="guide/simple_project.html">Creating a Simple Project</a>
          </li>
              
    <li class="none">
                    <a href="guide/load_project.html">Loading Project/Solution</a>
          </li>
              
    <li class="none">
                    <a href="guide/quickstart.html">Quick Start</a>
          </li>
              
    <li class="none">
                    <a href="guide/portability.html">Portability</a>
          </li>
          </ul>
              <h5>IDE Integration</h5>
            <ul>
              
    <li class="none">
                    <a href="ide/execute_goals.html">Executing Maven Goals</a>
          </li>
              
    <li class="none">
                    <a href="ide/assembly_key.html">Setting Assembly Key</a>
          </li>
              
    <li class="none">
                    <a href="ide/remote_repo.html">Remote Repository</a>
          </li>
              
    <li class="none">
                    <a href="ide/settings.html">Using Custom Settings</a>
          </li>
              
    <li class="none">
                    <a href="ide/importing.html">Importing Projects</a>
          </li>
              
    <li class="none">
                    <a href="ide/artifacts.html">Repository Artifacts</a>
          </li>
              
    <li class="none">
                    <a href="ide/references.html">Project References</a>
          </li>
              
    <li class="none">
                    <a href="ide/web_references.html">Web References</a>
          </li>
              
                
              
      
            
      
              
        <li class="collapsed">
                    <a href="ide/release.html">Releasing Project</a>
                </li>
              
    <li class="none">
                    <a href="ide/test.html">Integration Test</a>
          </li>
          </ul>
              <h5>Project Information</h5>
            <ul>
              
    <li class="none">
                    <a href="..">NPanday Site</a>
          </li>
              
    <li class="none">
                    <a href="https://npanday.svn.codeplex.com/svn/" class="externalLink">NPanday SVN</a>
          </li>
              
    <li class="none">
                    <a href="http://maven.apache.org/" class="externalLink">Maven</a>
          </li>
              
    <li class="none">
                    <a href="http://www.mono-project.com/" class="externalLink">Mono Project</a>
          </li>
              
    <li class="none">
                    <a href="http://dotgnu.org/" class="externalLink">DotGNU</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>NPanday List of Workarounds</h2>
<ul><li>NPanday generated output files have matching versions of that specified in the project's pom.xml version. If the output file does not match that of the pom.xml you need to specify the version of the maven-compile-plugin to the match that of the version of the NPanday that you are using.</li>
<li>Re-Importing a Project loses some references. Make sure that the added artifacts can be found in <tt>gac</tt> and/or local and/or remote repository, if not it won't be added in the pom though it is present in the References of VS.</li>
</ul>
<ul><li>Visual Basic Test goal errors can be due to incompatibilities between NPanday and the NUnit version used in the project. Changing the version of NUnit dependency in the project's <tt>pom.xml</tt> to <tt> &lt;version&gt;&lt;&lt;2.2.9.0&gt;&gt;&lt;/version&gt; </tt> will run the project successfully.</li>
<li>Visual Studio Addin is unable to build (compile) without installing the project. As a workaround, execute <tt>All NPanday Projects &gt; Install</tt> first before <tt>All NPanday Projects &gt; Build [compile]</tt>.</li>
<li>NPanday is not recognizing Visual Basic test codes. The project should be re-imported using <tt>Generate Solution's POM Information...</tt> option from the menu before executing the <tt>All NPanday Projects &gt; Test</tt> or <tt>All NPanday Projects &gt; Install</tt> goal.</li>
<li>NPanday is unable to build projects with dependencies in remote repository. As a workaround, reimport the project.</li>
<li>NPanday cannot release with references from <tt>gac</tt>. To make this work, execute <tt>npanday.plugin:NPanday.Plugin.Sysref.JavaBinding:prepare</tt> before releasing the project.</li>
<li>Test goal output result is not refreshed for C# test project. To make this work, reimport the project and change the value of the test. Then, perform <tt>Current&#160;Project:&#160;Test</tt>.</li>
<li>Addin Error with Test Goal is encountered. Verification can be done in two ways as listed below. <ol type="I"><li>Use ProjectImporter. This creates two separate NPanday projects.<ol type="1"><li>Import project with a main and a test module.</li>
<li>Perform <tt>Maven Phase &gt; All Project : Install</tt>.</li>
<li>Perform <tt>Maven Phase &gt; All Project : Test</tt>.</li>
</ol>
</li>
<li>Manually update the pom to specify the <tt>&lt;testSourceDirectory&gt;</tt>.<ol type="1"><li>Import project with a main and a test module.</li>
<li>Update <tt>&lt;testSourceDirectory&gt;</tt> to point to the test project.</li>
<li>Update <tt>&lt;testIncludeSources&gt;</tt> in the configuration element to add the test source codes individually.</li>
</ol>
<ol type="1"><li>Perform <tt>Maven Phase &gt; All Project : Install</tt>.</li>
<li>Perform <tt>Maven Phase &gt; All Project : Test</tt>.</li>
</ol>
</li>
</ol>
</li>
</ul>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2010
    
          NPanday
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
